﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JMY_Models;
using System.Data;
using JMY_IDAL;


namespace JMY_BLL
{
    public class FindHospitalBLL:BaseBLL<T_Hospital_Infos>
    {
        private const string _type = "FindHospitaDAL";
        /// <summary>
        /// 
        /// </summary>
        private JMY_IDAL.FindHospitaIDAL dal;
        /// <summary>
        /// 构造函数
        /// </summary>
        public FindHospitalBLL() : base(_type)
        {
            dal = base.Dal as JMY_IDAL.FindHospitaIDAL;
            if (dal==null)
            {
                throw new NullReferenceException(_type);
            }
        }
        
        /// <summary>
        /// 显示医院列表
        /// </summary>
        /// <returns></returns>
        public List<T_Hospital_Infos> InfosShow()
        {
            return dal.InfosShow();
        }

        /// <summary>
        /// 显示套餐列表
        /// </summary>
        /// <returns></returns>
        public List<T_Doctor_Combo_Model>  ComboShow()
        {
            return dal.ComboShow();
        }

    }
}
